package com.flute.haflute.net.messaging;

import org.apache.mina.core.session.IoSession;

/**
 * <消息，session>对的实体对象
 */
public class MessageSessionPair {
	private Message message;
	private IoSession session;

	public Message getMessage() {
		return message;
	}

	public IoSession getSession() {
		return session;
	}

	public MessageSessionPair(Message message, IoSession session) {
		this.message = message;
		this.session = session;
	}
}